/*
 * @description: 头部描述
 * @Author: Coder
 * @Date: 2019-12-24 13:56:25
 * @LastEditors: Coder
 */
/* 公共接口 */

export default class Common {
  /* 获取部门接口 */

  static depList = `/hr/api/v1/depInfos/listTree`;
  /* 获取岗位接口 */

  static posList = `/hr/api/v1/positionInfos/listTree`;
  /* 获取员工接口*/
  static userList = `/hr/api/v1/empInfos/listAll`;

  /* 部门树信息 */
  static depTreeList = `/hr/api/v1/depInfos/getEmpDepInfo`;
  /* /hr/api/v1/attendRule/selectDepInfoTree
查询部门(树) */
  static selectDepInfoTree = `/hr/api/v1/attendRule/selectDepInfoTree`;
  /*
/hr/api/v1/attendRule/selectEmpInfo
查询部门下的人员 */
  static selectPeoInfo = `/hr/api/v1/attendRule/selectEmpInfo`;
  /* 省市区 获取省信息*/
  static city = `/common/api/v1/areas/all`;
  /* 获取区 通过父级id查询区域，最顶层的省份传0 {parentId}*/
  static areas = `/common/api/v1/areas/parent/`;
  /* 所有员工 */
  static allUsers = `/user/api/v1/users/listAll`;
  /* 获取角色 */
  static allRoles = `/hr/api/v1/permissions/roleList?subjectType=company`;
}
